
using System;
using System.Collections;

namespace FutureOpen.Core
{
	#region Usrtype

	/// <summary>
	/// Usrtype string for NHibernate mapped table 'usrtype'.
	/// </summary>
	public class Usrtype
		{
		#region Member Variables
		
		protected int _usrtype_id;
		protected string _usrtype_name;

		#endregion

		#region Constructors

		public Usrtype() { }

		public Usrtype( string usrtype_name )
		{
			this._usrtype_name = usrtype_name;
		}

		#endregion

		#region Public Properties

		public virtual int Usrtype_id
		{
			get {return _usrtype_id;}
			set {_usrtype_id = value;}
		}

		public virtual string Usrtype_name
		{
			get { return _usrtype_name; }
			set
			{
				if ( value != null && value.Length > 300)
					throw new ArgumentOutOfRangeException("Invalid value for Usrtype_name", value, value.ToString());
				_usrtype_name = value;
			}
		}

        
		#endregion
		
        
	}

	#endregion
}
